permutations problem on leetcode

welcome to shbcf.ru